package org.csu.jpetstore.persistence;

import org.csu.jpetstore.domain.Order;

import java.util.List;

public interface OrderDAO {
    int insertOrder(Order order);
    Order getOrderByOrderid(int orderid);
    List<Order> getOrderByUsername(String username);
    List<Integer> getAllOrderId();
}
